<!--
 * @Author: 260156 260156@gree.com.cn
 * @Date: 2022-08-30 09:52:14
 * @LastEditors: 260156 260156@gree.com.cn
 * @LastEditTime: 2022-08-30 10:17:13
 * @FilePath: \gree-zst-web\src\components\radio\RadioGroup.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by 260156 260156@gree.com.cn, All Rights Reserved. 
-->
<template>
  <el-radio-group>
    <el-radio-button
      v-for="item in props.radios"
      :label="item.value"
      :key="item.value"
      >{{ item.label }}</el-radio-button
    >
  </el-radio-group>
</template>
<script lang="ts" setup>
interface Props {
  radios: {
    label: string;
    value: string | number;
  }[];
}
const props = defineProps<Props>();
</script>
